const Layout = () => import('@/layout/index.vue')

export default {
  name: 'Message',
  path: '/message',
  component: Layout,
  redirect: '/message/list',
  meta: {
    title: '消息',
    icon: 'material-symbols:chat-outline-rounded',
    role: ['admin','doctor'],
    requireAuth: true,
    order: 4,
  },
  children: [
    {
      name: 'MessagePage',
      path: 'messagePage',
      component: () => import('./index.vue'),
      meta: {
        title: '消息',
        icon: 'material-symbols:chat-outline-rounded',
        role: ['admin','doctor'],
        requireAuth: true,
        keepAlive: true,
      },
    },
  ],
}
